# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=py3-pysonic
_pyname=py-sonic
pkgver=1.0.0
pkgrel=1
pkgdesc="Python library to wrap the Subsonic REST API"
url="https://github.com/crustymonkey/py-sonic"
arch="noarch"
license="GPL-3.0-only"
options="!check" # no tests
depends="python3"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/p/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
8fa1eb6747962643b8f0c1f9649981247ef892851ffaf4a333980e44b9645dfb702cc6515e2d7e0dcc2a7cab3410b28b84ad78e34fe52fdec08d56c2a6834fd1  py-sonic-1.0.0.tar.gz
"
